using System.Net;
using System.Net.DnsToolkit.Packet.Records;
/*
 3.4.1. A RDATA format

    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
    |                    ADDRESS                    |
    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

where:

ADDRESS         A 32 bit Internet address.

Hosts that have multiple Internet addresses will have multiple A
records.
 * 
 */
namespace System.Net.DnsToolkit.Packet.Busy.Records
{
    public class RecordA : IRecord, IRecordA
	{
        public IPAddress Address { get; set; }

        public QTypeEnum QType {
            get {
                return QTypeEnum.A;
            } 
        }

        public override string ToString()
		{
			return Address.ToString();
		}

	}
}
